//
//  ARVideo.m
//  Staff
//
//  Created by Marcus on 12/28/14.
//
//

#import "ARVideo.h"

@implementation ARVideo

+ (ARVideo *)parserARVideoObjectWithJson:(NSDictionary *)jsonDic {
    
    ARVideo *arVideo = [[ARVideo alloc] init];
    arVideo.hashCode = [jsonDic objectForKey:@"hashcode"];
    arVideo.zipURL = [jsonDic objectForKey:@"zipurl"];
    arVideo.size = [[jsonDic objectForKey:@"size"] floatValue];
    arVideo.targetImageName = [jsonDic objectForKey:@"imageTarget"];
    arVideo.fileName = [[arVideo.zipURL componentsSeparatedByString:@"/"] lastObject];

    return arVideo;
    
}


@end
